<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <!--    视口，调整页面适应移动端
                width=device-width：页面宽度与设备宽度一致
                initial-scale=1：初始缩放为1，即不会缩放
                minimum-scale=1：最小缩放比
                maximum-scale=1：最大缩放比
                user-scalable=no：用户自定缩放
        -->
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title>登录页面</title>
    <link href="../0918/bootstrap/css/bootstrap.css" rel="stylesheet">
    <!--    如下第三方库的JS一般写在head标签中-->
    <script src="../0918/js/jquery-3.5.1.js"></script>
    <script src="../0918/bootstrap/js/bootstrap.js"></script>
    <style>
        html, body {
            padding: 0;
            margin: 0;
            height: 100%;
        }
        body {
            background-image: url("img/bg.jpg");
            background-repeat: no-repeat;
            background-size: 100% 100%;
        }

        input[name='account'] {
            border-bottom-left-radius: 0;
            border-bottom-right-radius: 0;
        }

        input[name='password'] {
            border-top-left-radius: 0;
            border-top-right-radius: 0;
        }

        .btns-other {
            display: flex;
            justify-content: space-between;
        }
        .btns-other>button {
            /*flex: 1;*/
            width: 49%;
        }

        .login-form {
            background-color: white;
            border-radius: 10px;
            padding: 10px;
            margin-top: 100px;
            opacity: 0.8;
        }
    </style>
</head>
<body>
<div class="container-fluid">
    <div class="row">
        <div class="col-md-6 col-md-offset-3 col-xs-10 col-xs-offset-1 col-sm-8 col-sm-offset-2">
            <form class="login-form text-center">
                <h1>欢迎使用宿舍管理系统</h1>
                <div class="form-group">
                    <input type="text" class="form-control" name="account" placeholder="账号">
                    <input type="password" class="form-control" name="password" placeholder="密码">
                </div>
                <div class="form-group">
                    <label class="radio-inline">
                        <input type="radio" name="type" value="0" checked> 系统管理员
                    </label>
                    <label class="radio-inline">
                        <input type="radio" name="type" value="1"> 宿舍管理员
                    </label>
                    <label class="radio-inline">
                        <input type="radio" name="type" value="2"> 学生
                    </label>
                </div>
                <div class="form-group">
                    <label class="checkbox-inline">
                        <input type="checkbox" value="1"> 记住密码
                    </label>
                </div>
                <div class="form-group">
                    <button type="submit" class="btn btn-primary btn-block">登录</button>
                </div>
                <div class="form-group btns-other">
                    <button type="button" class="btn btn-default">注册</button>
                    <button type="reset" class="btn btn-default">重置</button>
                </div>
            </form>
        </div>
    </div>
</div>
</body>
</html>